package net.butfly.bus.server.router;

import net.butfly.bus.router.RoutingPolicy;

public class RandomRoutingPolicy implements RoutingPolicy {
	public String lookup(String txCode, String version, String[] nodeIDs) {
		return nodeIDs[(int) (Math.random() * nodeIDs.length)];
	}
}
